package top.blackr.folivora.common.security.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import top.blackr.folivora.common.security.crud.model.entity.SysUser;

/**
 * 开发者注册成功事件
 *
 * @author BlackR
 */
@Getter
public class UserRegisterEvent extends ApplicationEvent {

    private final SysUser user;

    public UserRegisterEvent(Object source, SysUser user) {
        super(source);
        this.user = user;
    }
}
